About GMT and UTCFirst, IntroductionMany people know that the two-way schedule is referred to as GMT or UTC, and the World Time Zone table is referred to as universal, so what is the actual intent of GMT and UTC? How is the world time zone
UT-World Time
Universal TimeThe world is the earliest time standard.In 1884, the international 1s was defined as the 1/8.64x104 of the daily average length of the year. The time system formed by this standard, called the World, is UT1.The
Global 24 time Zones Division
The World Time Zone table, which can display time and place names in each of the world's time zones, is more sophisticated and complex than the two-way timetable, and usually the world time zone table's dial will mark
Reproduced GMT Terrain Data Summary
Original address:GMT Terrain Data Summary JasonReprint: Http://seisman.info/gmt-topo-grid-datas.html currently exposed to the terrain data are mainly three kinds: Etopo, GTOPO30
Some time ago, the project involved the conversion between MySQL and MSSQL data types. Recently, I was studying Sina Weibo's API, which involved the conversion of GMT time types with time zones, this is a special record for future query.
I.
GMT is utc/gmt time, January 01, 1970 00:00 00 seconds (that is, utc+8 Beijing time January 01, 1970 08:00 00 seconds)The calculation code is as follows:
1 /**2 * Gets the number of seconds from the specified time to GMT3 * UTC: GMT January 01,
1.UTC Time and GMT time
We can think of GMT as time Coordination Time (GMT=UTC), GMT and UTC time are calculated in seconds.
2.UTC Time and Local
UTC + time Zone difference = local time
Time zone Chadong is positive, West is negative. Here, the
JavaScript Time Format Conversion Summary1. Current system locale format (tolocaledatestring and tolocaletimestring)Example: (new Date ()). toLocaleDateString () + "" + (new Date ()). toLocaleTimeString ()Results: January 29, 2008 16:13:112.
In the previous article, the Help method provided is to convert a long type of time format to a time format in GMT format.This implementation converts data in GMT format to a long type of time format, with the following code:HTTP-GMT string-->long
GMT: Hotell gyllene Geten Standard TimeBeijing Time =gmt time + 8 hoursDatatime nowdate = Datatime.now;Nowdate.tostring ("R"); Effect: Wed, 16:24:33 GMTExplanation of the parameters:D ShortDatePatternD LongdatepatternF Full Date and time (long date
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.